/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package scenario;

import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.Logger;
import org.apache.log4j.SimpleLayout;
import org.apache.log4j.Level;

/**
 *
 * @author Orleant
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        SimpleLayout layout = new SimpleLayout();
        ConsoleAppender appender = new ConsoleAppender(new SimpleLayout());
        Logger.getRootLogger().addAppender(appender);
        Logger.getRootLogger().setLevel((Level) Level.WARN);
//      System.out.println(System.currentTimeMillis());
        if(args.length!=0){
	    long speed=Long.parseLong(args[0]);    	
            Simulateur s = new Simulateur(speed);
	}
       else{
	    Simulateur s = new Simulateur(1);   
        }
        
        while(true){
            
        }
    }
}
